﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000965 RID: 2405
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class IKCLNGIOBGH : IMessage<IKCLNGIOBGH>, IMessage, IEquatable<IKCLNGIOBGH>, IDeepCloneable<IKCLNGIOBGH>, IBufferMessage
	{
		// Token: 0x17001E7A RID: 7802
		// (get) Token: 0x06006BEF RID: 27631 RVA: 0x00121AD9 File Offset: 0x0011FCD9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<IKCLNGIOBGH> Parser
		{
			get
			{
				return IKCLNGIOBGH._parser;
			}
		}

		// Token: 0x17001E7B RID: 7803
		// (get) Token: 0x06006BF0 RID: 27632 RVA: 0x00121AE0 File Offset: 0x0011FCE0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return IKCLNGIOBGHReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001E7C RID: 7804
		// (get) Token: 0x06006BF1 RID: 27633 RVA: 0x00121AF2 File Offset: 0x0011FCF2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return IKCLNGIOBGH.Descriptor;
			}
		}

		// Token: 0x06006BF2 RID: 27634 RVA: 0x00121AF9 File Offset: 0x0011FCF9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public IKCLNGIOBGH()
		{
		}

		// Token: 0x06006BF3 RID: 27635 RVA: 0x00121B0C File Offset: 0x0011FD0C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public IKCLNGIOBGH(IKCLNGIOBGH other) : this()
		{
			this.magicScepterInfoList_ = other.magicScepterInfoList_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06006BF4 RID: 27636 RVA: 0x00121B36 File Offset: 0x0011FD36
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public IKCLNGIOBGH Clone()
		{
			return new IKCLNGIOBGH(this);
		}

		// Token: 0x17001E7D RID: 7805
		// (get) Token: 0x06006BF5 RID: 27637 RVA: 0x00121B3E File Offset: 0x0011FD3E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<GOBJOHACLKA> MagicScepterInfoList
		{
			get
			{
				return this.magicScepterInfoList_;
			}
		}

		// Token: 0x06006BF6 RID: 27638 RVA: 0x00121B46 File Offset: 0x0011FD46
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as IKCLNGIOBGH);
		}

		// Token: 0x06006BF7 RID: 27639 RVA: 0x00121B54 File Offset: 0x0011FD54
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(IKCLNGIOBGH other)
		{
			return other != null && (other == this || (this.magicScepterInfoList_.Equals(other.magicScepterInfoList_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06006BF8 RID: 27640 RVA: 0x00121B88 File Offset: 0x0011FD88
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.magicScepterInfoList_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06006BF9 RID: 27641 RVA: 0x00121BBC File Offset: 0x0011FDBC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06006BFA RID: 27642 RVA: 0x00121BC4 File Offset: 0x0011FDC4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06006BFB RID: 27643 RVA: 0x00121BCD File Offset: 0x0011FDCD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.magicScepterInfoList_.WriteTo(ref output, IKCLNGIOBGH._repeated_magicScepterInfoList_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06006BFC RID: 27644 RVA: 0x00121BF4 File Offset: 0x0011FDF4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.magicScepterInfoList_.CalculateSize(IKCLNGIOBGH._repeated_magicScepterInfoList_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06006BFD RID: 27645 RVA: 0x00121C2D File Offset: 0x0011FE2D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(IKCLNGIOBGH other)
		{
			if (other == null)
			{
				return;
			}
			this.magicScepterInfoList_.Add(other.magicScepterInfoList_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06006BFE RID: 27646 RVA: 0x00121C5B File Offset: 0x0011FE5B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06006BFF RID: 27647 RVA: 0x00121C64 File Offset: 0x0011FE64
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 18U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.magicScepterInfoList_.AddEntriesFrom(ref input, IKCLNGIOBGH._repeated_magicScepterInfoList_codec);
				}
			}
		}

		// Token: 0x04002933 RID: 10547
		private static readonly MessageParser<IKCLNGIOBGH> _parser = new MessageParser<IKCLNGIOBGH>(() => new IKCLNGIOBGH());

		// Token: 0x04002934 RID: 10548
		private UnknownFieldSet _unknownFields;

		// Token: 0x04002935 RID: 10549
		public const int MagicScepterInfoListFieldNumber = 2;

		// Token: 0x04002936 RID: 10550
		private static readonly FieldCodec<GOBJOHACLKA> _repeated_magicScepterInfoList_codec = FieldCodec.ForMessage<GOBJOHACLKA>(18U, GOBJOHACLKA.Parser);

		// Token: 0x04002937 RID: 10551
		private readonly RepeatedField<GOBJOHACLKA> magicScepterInfoList_ = new RepeatedField<GOBJOHACLKA>();
	}
}
